package com.xingkeduo.dto;

import com.xingkeduo.dto.enums.ConsumNoticeEnums;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author chi  2019-06-05 17:10
 **/
@NoArgsConstructor
@Data
@Builder
@AllArgsConstructor
public class StatisticsServiceDto {
    /**
     * id : 28537044389901
     * serviceMoney : 12.1
     * lastTime : 2019-06-05 10:15:16
     */

    //用户id
    private String id;

    private BigDecimal serviceMoney;

    private BigDecimal refundMoney;

    //    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastTime;
    private LocalDateTime payTime;

    //消费通知
    private ConsumNoticeEnums consumNotice;

    /**
     * 券id
     */
    private String couponId;

    private String orderNo;
}
